package com.guomao.domain;

public class Demo {


    public static void main(String[] args) {

//        Dog d1 = new Dog();
//        System.out.println(d1);
//
//        Dog d2 = new Dog();
//        System.out.println(d2);

        Dog d1 = Dog.getDog();
        Dog d2 = Dog.getDog();
        Dog d3 = Dog.getDog();
        Dog d4 = Dog.getDog();
        Dog d5 = Dog.getDog();

        System.out.println(d1);
        System.out.println(d2);
        System.out.println(d3);
    }

}
